package com.leenmvc.core.security.entity.core;


import com.leenmvc.core.annotation.DbInfo;
import com.leenmvc.core.annotation.PrimaryKey;
import com.leenmvc.core.utils.collection.TreeNode;

import java.io.Serializable;

/**
 *
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2020-03-05
 */

@DbInfo(value = "sys_api_result", comment = "API结果")
public class SysApiResult extends TreeNode<SysMenu> implements Serializable {

    @PrimaryKey
    private Long id;

    private Long pid;

    private Long apiId;

    /**
     * 参数名
     */
	private String paramName;
    /**
     * 参数类型
     */
	private String paramType;
    /**
     * 参数说明
     */
	private String note;
    /**
     * 长度限制
     */
	private Long len;
    /**
     * 示例
     */
	private String example;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public Long getApiId() {
        return apiId;
    }

    public void setApiId(Long apiId) {
        this.apiId = apiId;
    }

    public String getParamName() {
        return paramName;
    }

    public void setParamName(String paramName) {
        this.paramName = paramName;
    }

    public String getParamType() {
        return paramType;
    }

    public void setParamType(String paramType) {
        this.paramType = paramType;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public Long getLen() {
        return len;
    }

    public void setLen(Long len) {
        this.len = len;
    }

    public String getExample() {
        return example;
    }

    public void setExample(String example) {
        this.example = example;
    }
}
